<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li ><a href="{:url('Navd/index')}">导航列表</a></li>
			<li class="active"><a href="{:url('Navd/edit')}">编辑导航</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('Navd/editPost')}">
			<div class="form-group">
				<label for="input-title" class="col-sm-2 control-label">标题<span class="form-required">*</span></label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-id" name="id" value="{$nav.id}">
				</div>
			</div>

			<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('Navd/editPost')}">
				<div class="form-group">
					<label for="input-title" class="col-sm-2 control-label">导航菜单<span class="form-required">*</span></label>
					<div class="col-md-6 col-sm-10">
						<input type="text" class="form-control" id="input-title" name="title">
					</div>
				</div>

				<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('Navd/editPost')}">
					<div class="form-group">
						<label for="input-p_id" class="col-sm-2 control-label">二级id<span class="form-required">*</span></label>
						<div class="col-md-6 col-sm-10">
							<input type="text" class="form-control" id="input-p_id" name="title">
						</div>
					</div>

					<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('Navd/editPost')}">
						<div class="form-group">
							<label for="input-url" class="col-sm-2 control-label">链接<span class="form-required">*</span></label>
							<div class="col-md-6 col-sm-10">
								<input type="text" class="form-control" id="input-url" name="title">
							</div>
						</div>
				<div class="col-sm-offset-2 col-sm-10">
					<input type="hidden" value="{$nav.id}" name="id">
					<button type="submit" class="btn btn-primary js-ajax-submit">添加</button>
					<a class="btn btn-default" href="javascript:history.back(-1);">返回</a>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js?v={$_static_version}"></script>
<!--	<script type="text/javascript">-->
<!--		//编辑器路径定义-->
<!--		var editorURL = GV.WEB_ROOT;-->
<!--	</script>-->
<!--	<script type="text/javascript" src="__STATIC__/js/ueditor/ueditor.config.js"></script>-->
<!--	<script type="text/javascript" src="__STATIC__/js/ueditor/ueditor.all.min.js"></script>-->
<!--	<script type="text/javascript">-->
<!--		var editorcontent = new baidu.editor.ui.Editor();-->
<!--		editorcontent.render('content');-->
<!--	</script>-->
</body>
</html>
